package com.wgchao.patientcenter.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @作者  wgchao
 * @时间 2019-11-03 
 * @用途  
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@Entity
@Table ( name ="mdmp_grxx" )
public class MdmpGrxx  implements Serializable {

	private static final long serialVersionUID =  8687365560433641643L;

	/**
	 * 证件编号 -主键
	 */
	@Id
   	@Column(name = "idcard" )
	private String idcard;

	/**
	 * 姓名 
	 */
   	@Column(name = "name" )
	private String name;

	/**
	 * 民族
	 */
   	@Column(name = "mz" )
	private Long mz;

	/**
	 * 性别
	 */
   	@Column(name = "sex" )
	private Long sex;

	/**
	 * 联系电话
	 */
   	@Column(name = "phone" )
	private String phone;

	/**
	 * 婚姻状况
	 */
   	@Column(name = "marry" )
	private Long marry;

	/**
	 * 教育程度
	 */
   	@Column(name = "edu" )
	private Long edu;

	/**
	 * 户口性质
	 */
   	@Column(name = "hkxz" )
	private Long hkxz;

	/**
	 * 户口地址
	 */
   	@Column(name = "hkaddr" )
	private String hkaddr;

	/**
	 * 联系地址
	 */
   	@Column(name = "address" )
	private String address;

	/**
	 * 创建时间
	 */
	@Column(name = "create_time" )
   	private Date createTime;

	/**
	 * 删除标志
	 */
	@Column(name = "del" )
	private boolean del;

	/**
	 * 删除时间
	 */
	@Column(name = "del_time" )
	private Date delTime;

}
